package risk.client;

import java.awt.BorderLayout;
import java.awt.Component;

import javax.swing.JFrame;
import javax.swing.JPanel;

public class GameFrame extends JFrame {
    /**
     * @author: Johan
     */
    public GameFrame() {
        GameBoard board = new GameBoard();
        GameManager gameManager = new GameManager(board.getGrid()); 
        
        JFrame frame = new JFrame();
        JPanel panel = new JPanel(new BorderLayout());
        panel.add(board);
        panel.setVisible(true);
        
        frame.setSize(800, 600);
        frame.setLayout(new BorderLayout());
        frame.setContentPane(panel);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
    }
}
